package com.aggregate.pay.pingan.bean;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 进件接口－公共请求参数。所有进件接口最终请求参数。
 * @author Moyq5
 * @date 2017年6月22日
 */
public class CommonData {

	/**
	 * 运营机构编号，必填
	 */
	@JsonProperty("open_id")
	private String openId;
	
	/**
	 * 系统返回的语言默认zh-cn，支持zh-tw
	 */
	private String lang;
	
	/**
	 * Linx时间戳，1970-01-01至现在的秒数，必填
	 */
	private Integer timestamp;
	
	/**
	 * 随机字符串，不能少于32位，必填
	 */
	private String randStr;
	
	/**
	 * rsa签名字符串，需要私钥进行签名，必填
	 */
	private String sign;
	
	/**
	 *	open_key进行aes加密后的数据，必填
	 */
	private String data;

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getLang() {
		return lang;
	}

	public void setLang(String lang) {
		this.lang = lang;
	}

	public Integer getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Integer timestamp) {
		this.timestamp = timestamp;
	}

	public String getRandStr() {
		return randStr;
	}

	public void setRandStr(String randStr) {
		this.randStr = randStr;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "CommonData [openId=" + openId + ", lang=" + lang + ", timestamp=" + timestamp + ", randStr=" + randStr
				+ ", sign=" + sign + ", data=" + data + "]";
	}

}
